package com.xuhuan.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xuhuan.admin.entity.common.BaseEntity;
import lombok.Data;

/**
 * @author: huan.xu
 * @create: 2024/6/10 12:51
 * @description: 用户表
 **/
@Data
@TableName("user")
public class User extends BaseEntity {

  @TableField("username")
  private String username;

  @JsonIgnore
  @TableField("password")
  private String password;

  @TableField("nickname")
  private String nickname;

  @TableField("email")
  private String email;

  @TableField("user_pic")
  private String userPic;

}
